package com.itheima.service;

import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.User;

public interface UserService {


    User findByUsername(String username);

    Result findPage(QueryPageBean queryPageBean);

    Result save(User user);

    Result update(User user);

    Result delete(Integer id);

    Result findAll();

    Result findById(Integer id);


}
